<!DOCTYPE html>
<html>
<body>
    <style>
        table td
        {
            border: 6px solid green;
        }
        table
        {
            border-collapse: collapse;
            border-spacing: 0px;
            border-left-style: hidden;
        }
        td {
            height: 20px;
            width: 120px;
            padding: 0px;
        }
    </style>
    <p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=87900">87900</a>: Add support for direction on table row group with collapsing borders</p>
    <p>This test checks that a ltr table and several rtl row groups properly compute its collapsing borders when the table's left border is 'hidden'.</p>
    <p>For this test to pass, there should be only green borders on the cells and no left border on the table.</p>
    <table>
        <thead>
            <tr>
                <td></td>
                <td></td>
            </tr>
        </tbody>
        <tbody>
            <tr>
                <td></td>
                <td></td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td></td>
                <td></td>
            </tr>
        </tbody>
    </table>
</body></html>
